package com.esiag.isidis.fi.pdsteam.model;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;

@XmlRootElement(name = "event")

@XmlType(propOrder = { "waitTime", "sensorMacAddress", "eventCode" })
public class Event {
	
	private int waitTime;
	private String sensorMacAddress;
	private int eventCode;
	
	public int getWaitTime() {
		return waitTime;
	}
	public void setWaitTime(int waitTime) {
		this.waitTime = waitTime;
	}
	public String getSensorMacAddress() {
		return sensorMacAddress;
	}
	public void setSensorMacAddress(String sensorMacAddress) {
		this.sensorMacAddress = sensorMacAddress;
	}
	public int getEventCode() {
		return eventCode;
	}
	public void setEventCode(int eventCode) {
		this.eventCode = eventCode;
	}
	@Override
	public String toString() {
		return "Event [waitTime=" + waitTime + ", sensorMacAddress="
				+ sensorMacAddress + ", eventCode=" + eventCode + "]";
	}

} 